//
//  GiftHeader.h
//  BeatGift
//
//  Created by dllo on 15/12/28.
//  Copyright © 2015年 dllo. All rights reserved.
//

#ifndef GiftHeader_h
#define GiftHeader_h

#import "AppTools.h"
#import "UIImageView+WebCache.h"
#import "MJRefresh.h"
#import "AFNetworking.h"
#import "HYOUSingleton.h"


#import "HYOUGiftHomeViewController.h"


#import "HYOUHotViewController.h"
#import "HYOUHotModel.h"


#import "HYOUSortViewController.h"
#import "HYOUStrategyCellModel.h"

#import "HYOUUserViewController.h"


#import "HYOUOneCellModel.h"




#import "HYOUSearchViewController.h"


#import "HYOUBaseButton.h"
#import "HYOUBaseLabel.h"
#import "HYOUBaseView.h"
#import "HYOUBaseTextField.h"
#import "HYOUBaseViewController.h"
#import "HYOUBaseTableView.h"
#import "HYOUBaseTableViewCell.h"
#import "HYOUBaseCollectionView.h"
#import "HYOUBaseCollectionViewCell.h"
#import "HYOUBaseScrollView.h"
#import "HYOUBigGift.h"
/*************model***************/
#import "HYOUHeadScroll.h"
#if DEBUG

#define NSLog(FORMAT, ...) fprintf(stderr,"[%s:%d行] %s\n",[[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);

#else

#define NSLog(FORMAT, ...) nil

#endif

#define RGBA(R/*红*/, G/*绿*/, B/*蓝*/, A/*透明*/) \
[UIColor colorWithRed:R/255.f green:G/255.f blue:B/255.f alpha:A]

#define WIDTH [UIScreen mainScreen].bounds.size.width
#define HEIGHT [UIScreen mainScreen].bounds.size.height

#define  NIGHT_COLOR [UIColor colorWithRed:((float)((0x393939 & 0xFF0000) >> 16))/255.0 green:((float)((0x393939 & 0xFF00) >> 8))/255.0 blue:((float)(0x393939 & 0xFF))/255.0 alpha:1.0]

#define WHITE_COLOR [UIColor whiteColor]
#define BLACK_COLOR [UIColor blackColor]

#define USERDEFAULT [NSUserDefaults standardUserDefaults]
#define My_COLOR [UIColor colorWithRed:248 / 255.0 green:243 / 255.0 blue:233 / 255.0 alpha:1];


#define CENTER 

#endif /* GiftHeader_h */
